package com.xlh.lib.Core;

import android.content.ContentResolver;
import android.database.CharArrayBuffer;
import android.database.ContentObserver;
import android.database.Cursor;
import android.database.DataSetObserver;
import android.net.Uri;
import android.os.Bundle;

/**
 * Created by fang on 2018-01-16.
 */

public class FFCursorHelper {

    public Cursor getCsr() {
        return csr;
    }

    public void setCsr(Cursor csr) {
        this.csr = csr;
    }

    private Cursor csr;




    public String getString(String key){
        return csr.getString(csr.getColumnIndex(key));
    }

    public int getInt(String key){
        return csr.getInt( csr.getColumnIndex(key));
    }

}
